/**
 * role表操作 
 */
var MenuData = {
    // 获取角色数据
    queryRoleData: function() {
        return "select * from role";
    },
    // 删除ID对应的数据
    deleteData: function(param) {
        return "DELETE from role where ID = " + param.ID;
    },
    // 增加数据
    insertData: function(param) {
        return "INSERT INTO role set name = '"+param.name+"'";
    },
    // 更新数据
    updatetData: function(param) {
        return "UPDATE role SET name = '"+param.name+"'"+" WHERE ID = '"+param.ID+"'";
    }
}
exports = module.exports = MenuData;